package com.gitee.srurl.core.constant;

/**
 * @author zxw
 * @date 2023/4/19 22:05
 */
public interface GlobalConstant {

    String AUTHORIZATION = "Authorization";

    String TOKEN_BEARER = "Bearer ";

    /**
     * 分页字段名
     */
    interface Page {
        /**
         * 每页数量字段名
         */
        String PAGE_SIZE = "pageSize";

        /**
         * 页码字段名
         */
        String PAGE_NUM = "pageNum";

        /**
         * 排序字段
         */
        String ORDER_BY = "orderByColumn";

        /**
         * 是否升序
         */
        String IS_ASC = "isAsc";

        /**
         * 默认每页数量
         */
        Integer DEFAULT_PAGE_SIZE = 10;

        /**
         * 默认页码
         */
        Integer DEFAULT_PAGE_NUM = 1;
    }
}
